package dao;

import java.util.List;

import entity.User;

public interface UserDao {
	void delete(int id) throws Exception;
	int save(User user) throws Exception;
	User findByUserName(String userName) throws Exception;
	List<User> findAll() throws Exception;
	User findById(int id) throws Exception;
	void update(User user) throws Exception;
}
